AmeliaBooking\Application\Services\User\ProviderApplicationService D

Total Complexity 213
Dependencies 28
Dependents 0
Total lines 1,521
Lines of code 838
Logical lines of code 478
Comment lines 348
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
updateProviderWorkDays()
D
28
34 128
updateProviderSpecialDays()
C
31 26 111
add()
B
33 20 93
delete()
A
42 15 48
getProviderServiceLocations()
A
43 14 48
setAvailablePeriodServicesLocations()
A
46 13 39
manageProvidersActivity()
A
47 10 35
createProvider()
A
44 8 44
getAllowedCustomers()
A
46 8 38
getProviderScheduleIntervals()
A
45 7 46
updateProviderDaysOff()
A
52 8 22
updateProviderServices()
S
51 7 27
modifyPeriodsWithSingleLocationAfterFetch()
S
52 7 26
removeAllExceptUser()
S
56 7 17
setProviderServices()
S
51 6 26
updateProviderLocations()
S
56 5 19
modifyPeriodsWithSingleLocationBeforePersist()
S
58 5 16
update()
S
57 5 16
checkIfTodayIsCompanyDayOff()
S
61 4 12
__construct()
S
81 1 3
getProviderWithServicesAndSchedule()
S
63 1 10
updateProviderOutlookCalendar()
S
70 1 7
updateProviderGoogleCalendar()
S
70 1 7